package com.yida.wy.common.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yida.wy.common.domain.dto.WyBaseHouseBusinessDTO;
import com.yida.wy.common.mapper.WyBaseBusinessMapper;
import com.yida.wy.common.service.IWyBaseBusinessService;

/**
 * 业务编号Service业务层处理
 *
 * @author lqq
 * @date 2022-11-14
 */
@Service
public class WyBaseBusinessServiceImpl implements IWyBaseBusinessService {

    @Resource
    private WyBaseBusinessMapper businessMapper;

    /**
     * 查询基础房屋所涉及的所有业务
     *
     * @param houseCode 房屋编号
     * @param areaId 地区ID
     * @return /
     */
    @Override
    public List<WyBaseHouseBusinessDTO> selectHouseBusinessListByHouseCodeAndAreaId(String houseCode, Long areaId) {
        return businessMapper.selectHouseBusinessListByHouseCodeAndAreaId(houseCode, areaId);
    }

}
